__author__ = 'alex'
import datetime
import pickle,json

dic1 = {'name':'alex',
        'age': 44,
        'born':datetime.datetime.now()}
#print datetime.datetime.now()
f = file('test.json','w')

#print pickle.dumps(dic1)
#pickle.dump(dic1,f)
pickle.dump(dic1,f)
f.close()